package cn.mhome.merchant.dao.spring.data.repository;

import java.util.ArrayList;
import java.util.List;

/**
 * 批量提交参数
 * @author lvpeng
 */
public class InsertBatchParam {

	/*** insert into gift_card(...) values */
	private String insertTemplate;
	private int batchSize = 500;
	/*** ('1','2') */
	private List<String> valueSqlList 
					= new ArrayList<String>();
	
	public InsertBatchParam(){
		
	}
	public InsertBatchParam(String insertTemplate,List<String> valueSqlList ){
		this.insertTemplate = insertTemplate;
		this.valueSqlList = valueSqlList;
	}
	
	public String getInsertTemplate() {
		return insertTemplate;
	}
	public void setInsertTemplate(String insertTemplate) {
		this.insertTemplate = insertTemplate;
	}
	public int getBatchSize() {
		return batchSize;
	}
	public void setBatchSize(int batchSize) {
		this.batchSize = batchSize;
	}
	public List<String> getValueSqlList() {
		return valueSqlList;
	}
	public void setValueSqlList(List<String> valueSqlList) {
		this.valueSqlList = valueSqlList;
	}
	
}
